package com.designpattern.FactoryMethodPattern;

/**
 * @Author yp
 * @Date 2021-05-26
 * @Description 食物接口
 **/

public interface Food {
  void show();
}


 class ChineseFoodA implements Food {
    @Override
    public void show() {
     System.out.println("展示具体中国食物"  );
    }
 }

class AmericanFoodA implements Food {
    @Override
    public void show() {
     System.out.println("展示具体美国食物" );
    }
}